<html>
  <head>
    <title>Log Symmetric</title>
    <script type="text/javascript" src="../../protovis.js"></script>
    <script type="text/javascript" src="../testify.js"></script>
    <link rel="stylesheet" type="text/css" href="../style.css"/>
    <link rel="stylesheet" type="text/css" href="../testify.css"/>
  </head>
  <body>
    <script type="text/javascript+protovis">

var i, text = "";

text += ">>> pv.logSymmetric()\n";
text += "<b>domain\texpected\tactual</b>\n";

i = pv.logSymmetric(1, 0);
text += "(1, 0)\t0\t" + i + "\n";

i = pv.logSymmetric(0, 1);
text += "(0, 1)\t0\t" + i + "\n";

i = pv.logSymmetric(0, 2);
text += "(0, 2)\t0\t" + i + "\n";

i = pv.logSymmetric(0, 0);
text += "(0, 0)\t0\t" + i + "\n";

i = pv.logSymmetric(Infinity, 10);
text += "(Infinity, 10)\tInfinity\t" + i + "\n";

i = pv.logSymmetric(-Infinity, 10);
text += "(-Infinity, 10)\t-Infinity\t" + i + "\n";

i = pv.logSymmetric(1, 1);
text += "(1, 1)\tNaN\t" + i + "\n";

i = pv.logSymmetric(1, NaN);
text += "(1, NaN)\tNaN\t" + i + "\n";

i = pv.logSymmetric(NaN, 10);
text += "(NaN, 10)\tNaN\t" + i + "\n";

testify(text);

    </script>
  </body>
</html>
